﻿@model $prjsn$.Common.Models.Services.ITranslatorModel

@this.CreateForm()

@AddControls(
    new Fieldset("w70p mh50 ", Str.Business.Common.Description)
    {
        new DefinitionList(PercentForLabel.p30)
        {
            new TextOrInput(maxLength: 150)
                .SetSourceProperty(() => Model.Filter.Key),

            new TextOrInput(maxLength: 250)
                .SetSourceProperty(() => Model.Filter.Area),
        }
    },
    new Fieldset("w70p mh50 ", Str.Business.Services.SearchedPhrase)
    {
        new DefinitionList(PercentForLabel.p30)
        {
            new DefinitionListItem("Language")
            {
                new ComboBox()
                    .SetComboBoxModel(Model.LanguagesModel),
            },

            new TextOrInput(maxLength: 2000)
                .SetSourceProperty(() => Model.Filter.SearchedPhrase),
        }
    })

@AddControls(
    new AdjustListView
    {
        Type = AdjustListViewType.Fieldset,
        CssClassName = "w70p mh75"
    }
)


@this.CloseForm()
